package com.dao;

import com.entity.Resource;
import com.entity.Staff;

import java.util.List;

public interface ResourceDao {
    int insert(Resource resource);

    int update(Resource resource);

    int delete(int id);

    List<Resource> findAll();

    List<Resource> findByStaffId(Staff staff);

    List<Integer> findByRoleId(int roleId);

    List<Resource> findByResource();

}
